The generated code in turn affects the runtime behavior of the annotated elements. 生成的代码又会影响所注释元素的运行时行为。
Take a look at the generated code, and notice that the getter and setter methods for ID ( getID and setID) and name ( getName and setName), as well as a validate method, have been created. 看一下生成的代码,您会看到其中已经创建了ID的getter和setter方法(getID和setID)、name的getter和setter方法(getName和setName)以及一个validate方法。
The generated code is then compiled and linked together with the user written code. 生成的代码然后被编译,并与客户机和源代码链接在一起。
There should be no compile errors in the generated code. 生成的代码中并不会有编译的错误。
Several other attributes named sync, json, and cpr let you specify various features of the generated code. 名为sync、json和cpr的属性则可以让您指定已生成代码的各种特性。
These results cover both generated code and mapped binding approaches, with document models included for comparison. 这些结果涉及了生成代码方法和映射绑定方法,为了进行比较,包含了文档模型。
The prefix argument is used as a prefix for the variable names inside the generated code. prefix参数被用作在已生成的代码内部的变量名的前缀。
Bob explains that a Hook provides an easy way to conduct specialized processing during execution of generated code. Bob解释道,Hook在执行生成的代码期间为进行特殊处理提供了一种简单的方法。
It also provides a direct link to modeling of the generated code ( using visualization tools). 它同时(利用可视化工具)还产生了对于模型生成代码的直接连接。
Conveniently, this has been corrected: modern versions of both lex and yacc allow you to specify a prefix to use on the names of symbols in generated code. 这一点已经得到了修正,而且更加便利:lex和yacc的最新版本都允许您在生成代码的符号名称上指定一个前缀。
Instead of having a test method per use case, we have a text file containing the expected generated code and a optional text file containing the expected compiler messages. 和每个用例有一个测试方法不同,我们有一个文本文件包含所期望的生成代码以及包含所期望编译器消息的可选文本文件。
The code generation is improved to include requirement information in the generated code. 代码生成工作已得到了改进,在生成的代码中包括需求信息。
On the downside, mapped bindings do require more effort to set up than the generated code approach. 映射绑定的缺点是,在设置方面,它确实比生成代码方法需要花费更多精力。
In a static linked system, the generated code possesses a reference to a function. 在静态链接系统中,生成的代码会持有对某个函数的引用。
Castor and Quick also support mapping existing classes to XML as an alternative to using generated code. Castor和Quick还支持将现有类映射到XML,以此作为另一种生成代码的方法。
Castor is very slow by comparison, both with mapped bindings and with generated code. 比较起来,Castor非常缓慢,使用映射绑定和生成代码都如此。
In the generated code, these classes can extend the operations given by the interface. 在这些产生的代码中,这些类可以延伸这个接口所提供的操作。
The generated code will add the Ajax-Call header, whose value is the function's signature. 生成的代码将添加Ajax-Call头部,它的值就是函数的签名。
Using a mapping model, you can rename modeled elements in the generated code. 使用映射模型,您能够在生成的代码中重命名模型的元素。
Inside Rhapsody there are many properties that allow customization of the tool and the generated code. 在Rhapsody中,有许多的属性,支持工具与生成代码的定制。
This is typically not possible with the generated code approaches. 对于生成的代码方法而言,这通常是不可能的。
The only advantage provided at present is support for XPath-based constraints and access methods in the generated code. 目前这种方法所具有的唯一好处是在生成代码中支持基于XPath的约束和访问方法。
The generated code finds the file correctly. 生成的代码可以正确无误地找到该文件。
Again, this pre-population or back patching ensures compiler generated code is consistent from compiler invocation to compiler invocation. 同样,这个前人口或背部修补确保编译器生成的代码是由编译器调用一致的编译器调用。
Of course, the synchronization between your entry point and the corresponding generated code was quickly lost. 自然,你的入口点和与其对应生成的代码之间的同步也就很快失去了。
Method declarations to handle these events are provided in the generated code behind the document. 在文档的后台生成代码中提供了处理这些事件的方法声明。
Now you just have to copy generated code from result pane and paste in your project. 现在你只需要复制的结果窗格并粘贴到您的项目生成的代码。
You can automatically suppress error messages from generated code. 可以自动禁止在生成的代码中显示错误消息。
The generated code includes each validation and extraction rule that may have been added. 生成的代码包括可以添加的每个验证和提取规则。
Of course, once you remove the JIT you will not be able to use any dynamically generated code. 当然,一旦移除了JIT,你将无法使用任何动态生成的代码。